package com.py.framework.core.entity;

/**
 * 用户实体
 * @author Leegern
 * @date   2018年4月25日
 */
public class SysUserEntity extends BaseEntity {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -8332323868912249704L;
	/** 用户名 **/
	private String username;
	/** 密码 **/
	private String password;
	/** 真实姓名 **/
	private String realName;
	/** 性别，1：男，2：女 **/
	private int sex;
	/** 手机号 **/
	private String mobilePhone;
	/** 部门ID **/
	private long officeId;
	/** 用户类型，1：普通用户 2：区域管理员 3：超级管理员 4:部门管理员 **/
	private int userType;
	/** 用户状态，1：启用，2：停用  **/
	private int userStatus;
	/** 部门名称 **/
	private String officeName;
	/** 所有父部门ID **/
	private String allParentId;

	private Long areaId;

	
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the realName
	 */
	public String getRealName() {
		return realName;
	}
	/**
	 * @param realName the realName to set
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}
	/**
	 * @return the sex
	 */
	public int getSex() {
		return sex;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(int sex) {
		this.sex = sex;
	}
	/**
	 * @return the mobilePhone
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}
	/**
	 * @param mobilePhone the mobilePhone to set
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	/**
	 * @return the officeId
	 */
	public long getOfficeId() {
		return officeId;
	}
	/**
	 * @param officeId the officeId to set
	 */
	public void setOfficeId(long officeId) {
		this.officeId = officeId;
	}
	/**
	 * @return the userType
	 */
	public int getUserType() {
		return userType;
	}
	/**
	 * @param userType the userType to set
	 */
	public void setUserType(int userType) {
		this.userType = userType;
	}
	/**
	 * @return the userStatus
	 */
	public int getUserStatus() {
		return userStatus;
	}
	/**
	 * @param userStatus the userStatus to set
	 */
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	/**
	 * @return the officeName
	 */
	public String getOfficeName() {
		return officeName;
	}
	/**
	 * @param officeName the officeName to set
	 */
	public void setOfficeName(String officeName) {
		this.officeName = officeName;
	}

	public String getAllParentId() {
		return allParentId;
	}

	public void setAllParentId(String allOfficeId) {
		this.allParentId = allOfficeId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
}